import main from './lib/main.js'

const app = new main()

app.router.beforeEach((to, from, next) => {
  app.app.$Loading.start()
})

app.router.afterEach(route => {
  app.app.$Loading.finish()
})

export default app
